﻿using SqlSugar;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace Zocono.WCS.Domain.EntityInfo
{
    public class InterfaceLogInfo
    {
        /// <summary>
        /// Desc:(Interface)接口日志表ID
        /// Default:
        /// Nullable:False
        /// </summary>           
        [SugarColumn(IsPrimaryKey = true)]
        public long ILogId { get; set; }

        /// <summary>
        /// Desc:接口地址(URL)
        /// Default:
        /// Nullable:False
        /// </summary>           
        public string InterfaceUrl { get; set; }

        /// <summary>
        /// Desc:方法名称
        /// Default:
        /// Nullable:False
        /// </summary>           
        public string ActionName { get; set; }

        /// <summary>
        /// Desc:IP地址
        /// Default:
        /// Nullable:False
        /// </summary>           
        //public string IpAddress { get; set; }

        /// <summary>
        /// Desc:请求参数
        /// Default:
        /// Nullable:False
        /// </summary>           
        public string InterfacePara { get; set; }

        /// <summary>
        /// Desc:响应结果
        /// Default:
        /// Nullable:False
        /// </summary>           
        public string InterfaceResult { get; set; }

        /// <summary>
        /// Desc:是否成功
        /// Default:
        /// Nullable:False
        /// </summary>           
        public bool IsSuccess { get; set; }

        /// <summary>
        /// Desc:开始时间
        /// Default:
        /// Nullable:False
        /// </summary>           
        public DateTime StartTime { get; set; }

        /// <summary>
        /// Desc:结束时间
        /// Default:
        /// Nullable:False
        /// </summary>           
        public DateTime EndTime { get; set; }

        /// <summary>
        /// Desc:描述
        /// Default:
        /// Nullable:False
        /// </summary>           
        public string Description { get; set; }

        /// <summary>
        /// Desc:创建时间
        /// Default:
        /// Nullable:False
        /// </summary>           
        public DateTime CreateTime { get; set; }
    }
}
